package app;

import javax.swing.SwingUtilities;

import app.component.ImageAnimator;

import chrriis.common.UIUtils;
import chrriis.dj.nativeswing.swtimpl.NativeInterface;


/**
 * Main class 
 * @author Evstigneev Kirill (kester)
 */
public class Main {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
	    UIUtils.setPreferredLookAndFeel();   
	    NativeInterface.open();  
		
	    SwingUtilities.invokeLater(new Runnable() { 
			@Override
			public void run() {
				final ImageAnimator ia = new ImageAnimator();
				ia.init();
				ia.setVisible(true);	
			}
	    });
	    NativeInterface.runEventPump();  
	}
	
}
